Pancake Sorting question

join shbcf.ru